// ----------------------------------------------------------------------
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
// --
// Copyright 2016-2019 Andi Dittrich <https://andidittrich.de>
// ----------------------------------------------------------------------

// view names -may required for complex rulesets + optimizations
@VIEW_INLINE: enlighter-v-inline;
@VIEW_STANDARD: enlighter-v-standard;
@VIEW_CODEGROUP: enlighter-v-codegroup;

// detached rulesets
// ------------------------------------------

// inline content
.VIEW_INLINE(@rules){
    &.@{VIEW_INLINE}{
        @rules();
    }
}

// standard layout - single block
.VIEW_STANDARD(@rules){
    &.@{VIEW_STANDARD}{
        @rules();
    }
}

// tabbed layout
.VIEW_CODEGROUP(@rules){
    &.@{VIEW_CODEGROUP}{
        @rules();
    }
}
